/*
 * Ext JS Library 2.2
 * Copyright(c) 2006-2008, Ext JS, LLC.
 * licensing@extjs.com
 * 
 * http://extjs.com/license
 */

 var exportExcel =function(){

  //  Ext.QuickTips.init();

    // turn on validation errors beside the field globally
    Ext.form.Field.prototype.msgTarget = 'side';

	var ct = new Ext.Panel({
		renderTo: 'exportExcel',
		frame: true,
		title: '导出为Excel',
		width: 500,
		height: 200,
		iconCls:'league',
		titleCollapse:true,
		tools:[{
		    id:'toggle',
		    qtip: 'Refresh form Data',
		    // hidden:true,
		    handler: function(event, toolEl, panel){
		        panel.toggleCollapse(true);
		    }
		}
		],
		html:'<p><a href="exportexcel.action">北京市青年发展指标体系问卷调查（成人版）数据导出</a></p><p><a href="youthexportexcel.action">北京市青年发展指标体系问卷调查（学生版）数据导出</a></p>'
	});
};